From: Rui Matos Date: Thu, 14 Jun 2012 17:46:21 +0000 (+0200) Subject: messageTray: Remove unused method parameter X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~6369 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=02428019fa7fc5637d1ac29d97158c07c989e3f6;p=gnome-shell.git messageTray: Remove unused method parameter The alignment of the arrow tip regarding the source actor is set with setSourceAlignment() and its default is already 0.5 . https://bugzilla.gnome.org/show_bug.cgi?id=678164 --- diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index f0b343e7a..51d4be35e 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -2490,11 +2490,10 @@ const MessageTray = new Lang.Class({ }, _adjustSummaryBoxPointerPosition: function() { - // The position of the arrow origin should be the same as center of this._clickedSummaryItem.actor if (!this._clickedSummaryItem) return; - this._summaryBoxPointer.setPosition(this._clickedSummaryItem.actor, 0, 0.5); + this._summaryBoxPointer.setPosition(this._clickedSummaryItem.actor, 0); }, _unsetClickedSummaryItem: function() {